<HTML>
<HEAD>
<style type="text/css">

 

body {
	margin:0;
	padding:0;
}

   
</style>
	
	
	
	
	<!-- CSS for Menu -->
	<script type="text/javascript"  src="/yui/build/yuiloader/yuiloader-beta-min.js"></script>
	<script type="text/javascript" src="/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
	<script type="text/javascript" src="/yui/build/container/container-min.js"></script>
   
   	
		

<script language="JavaScript" type="text/javascript" src="/2112PowerWindows/tool-man/core.js"></script>
<script language="JavaScript" type="text/javascript" src="/2112PowerWindows/tool-man/events.js"></script>
<script language="JavaScript" type="text/javascript" src="/2112PowerWindows/tool-man/css.js"></script>
<script language="JavaScript" type="text/javascript" src="/2112PowerWindows/tool-man/coordinates.js"></script>
<script language="JavaScript" type="text/javascript" src="/2112PowerWindows/tool-man/drag.js"></script>

<!-- The Portals Namespace -->
<script type="text/javascript" src="/2112PowerWindows/config/portalSettings.js"></script>   
<script type="text/javascript"  src="/2112PowerWindows/runtime12/NS2112.js"></script>
<script type="text/javascript"  src="/2112PowerWindows/runtime12/portalMan.js"></script>
<script type="text/javascript" src="/2112PowerWindows/runtime12/nlsProvider.js" ></script>
<script type="text/javascript"  src="/2112PowerWindows/runtime12/windowMan.js"></script>

<!-- Make sure that YAHOO is defined before using snapIn! -->
<!--  script type="text/javascript" src="/2112PowerWindows/runtime12/snapIn.js" -- ><!-- /script --> 
<script type="text/javascript"  src="/2112PowerWindows/runtime12/snapLoader.js"></script>

<script type="text/javascript"  src="/2112PowerWindows/runtime12/coreSnapIn.js"></script>


<script type="text/javascript"> 
var onDataReady ;
dataReadyFired = function(a,b,c)
{
 alert('a: ' + a + ' b: '+ b + ' c: ' + c) ;
}


initMe = function() 
{
    onDataReady = new NS2112.CustomEvent("onDataReady");
    onDataReady.subscribe(dataReadyFired, 'Hello') ;
    alert("initMe: set Event.") ;
}
  
  
var snap = null ;  

  

  f1 = function()
  {
      onDataReady.fire( 'World') ;         
  }
  
  f2 = function()
  {
   	
  }
</script>


<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY class=" yui-skin-sam" onload="initMe();">
<div id="shim" style="position:absolute;left:0px;top:10px;width:2000px;height:2000px;z-index:-1000;background:transparent;border:1px;border-style:solid;"> 
.....
</div> 

<button id="test" onclick="f1();">1  </button >
<button id="test" onclick="f2();">2 </button >
<div id="shim" style="position:absolute;left:0px;top:0px;width:2000px;height:2000px;z-index:-1000;background-color: silver;opacity:.25;filter: alpha(opacity=25); -moz-opacity: 0.5;border:1px solid black;"></div> 

</BODY>
</HTML>
